#define _CRT_SECURE_NO_WARNINGS 1
class Solution {
public:
    vector<int> getLeastNumbers_Solution(vector<int> input, int k) {
        vector<int>s;
        sort(input.begin(), input.end());
        for (int i = 0; i < k; i++) s.push_back(input[i]);
        return s;
    }
};